package jia.editor;


public interface EditorViewport {
    /**
     * @return The current displayed width of a Space
     */
    public int getGridWidth();
    
    /**
     * @return The current displayed height of a Space
     */
    public int getGridHeight();
    
    /**
     * Sets the displayed width of a Space
     *
     * @param width
     */
    public void setGridWidth(int width);
    
    /**
     * Sets the displayed height of a Space
     *
     * @param height
     */
    public void setGridHeight(int height);
    
    /**
     * Retrieves information about a screen location's relationship
     * to the currently viewed Module
     *
     * @param mouseX
     * @param mouseY
     * @return
     */
    public ScreenLocationData getScreenData(int mouseX, int mouseY);
}
